package com.xinfan.io;

import java.io.Serializable;

/**
 * @Author xin
 * @Date 2022/6/8 22:32
 * @Version 1.0
 */
public class Dog implements Serializable {
    private static final long serialVersionUID = 6724982313985950789L;
    private String name;
    private int age;
    public static String nation ="asd";

    public Dog(String name, int age) {
        this.name = name;
        this.age = age;

    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}'+nation;
    }
}
